package com.bosssoft.hr.jobmonitor.entity;

import java.io.Serializable;

public class User implements Serializable {
    private Integer id;

    private String worknum;

    private String name;

    private String department;

    private String title;

    private String emailaddr;

    private Integer enable;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public User() {
    }

    public User(Integer id, String worknum, String name, String department, String title, String emailaddr, Integer enable) {
        this.id = id;
        this.worknum = worknum;
        this.name = name;
        this.department = department;
        this.title = title;
        this.emailaddr = emailaddr;
        this.enable = enable;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getWorknum() {
        return worknum;
    }

    public void setWorknum(String worknum) {
        this.worknum = worknum == null ? null : worknum.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department == null ? null : department.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getEmailaddr() {
        return emailaddr;
    }

    public void setEmailaddr(String emailaddr) {
        this.emailaddr = emailaddr == null ? null : emailaddr.trim();
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }
}